package com.qf.purchasing.service;


import com.github.pagehelper.PageInfo;
import com.qf.common.base.result.RespResult;
import com.qf.purchasing.qo.ApplyQO;
import com.qf.purchasing.vo.ApplyVO;

public interface ApplyService {

    // 根据标题，时间分页查询采购申请
    RespResult<PageInfo<ApplyVO>> query(int page, int size, String title, String startTime, String endTime);

    //添加采购申请记录
    RespResult<String> addApplyService(ApplyQO applyQO);

    //删除多个采购申请记录
    RespResult<String> deleteApplyByIds(int[] ids);

    //修改采购申请记录
    RespResult<String> modify(ApplyQO applyQO);

    //根据 id 查询采购申请
    RespResult<ApplyVO> selectApplyById(int applyId);

    //撤回新增和删除操作
    RespResult<String> recallSchedule();

}
